﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
    <script>
var a=[];
function draw(x,y,color)
{
document.write("<img style='position:absolute;background-color:"+color+";height:1;width:1;top:"+x+";left:"+y+";'></img>")
}
var max=10;
str="longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring";
for(i=1;i<30*max;i++)
{
var now1=new Date();
p=50*i;while(p--)a.push(str);
var now2=new Date();
x0=(now2.getTime()-now1.getTime());
y0=(i);
draw(1000-x0,y0,"green");
}

for(i=1;i<30*max;i++)
{
var now1=new Date();
p=50*i;while(p--)a.push("longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring");
var now2=new Date();
x0=(now2.getTime()-now1.getTime());
y0=(i);
draw(1000-x0,y0,"yellow");
}
alert("!!");

for(i=1;i<250;i++)
{
var now1=new Date();
p=50*i;while(p--)a.push(new String("longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring"));
var now2=new Date();
x0=(now2.getTime()-now1.getTime());
y0=(i);
draw(1000-x0,y0,"red");
}
</script>
</head>
<body>

</body>
</html>
